package com.lexian.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 顾客
 * </p>
 *
 * @author testjava
 * @since 2021-01-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Customer对象", description="顾客")
public class Customer implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "顾客编号")
    @TableId(value = "cus_id", type = IdType.AUTO)
    private Long cusId;

    @ApiModelProperty(value = "顾客头像")
    private String headimg;

    @ApiModelProperty(value = "顾客用户名")
    private String username;

    @ApiModelProperty(value = "顾客呢称")
    private String nickname;

    @ApiModelProperty(value = "顾客姓名")
    private String realname;

    @ApiModelProperty(value = "顾客性别")
    private Integer sex;

    @ApiModelProperty(value = "顾客生日")
    private Date birth;

    @ApiModelProperty(value = "顾客电话")
    private String phone;

    @ApiModelProperty(value = "顾客邮箱")
    private String email;

    @ApiModelProperty(value = "顾客密码")
    private String password;

    @ApiModelProperty(value = "账号可用状态")
    private Integer status;


}
